export SPARK_HOME=/home/apps/spark-2.3.1-bin-hadoop2.7
export JAVA_HOME=/usr/bin/java/jdk1.8.0_181
export SPARK_MASTER=spark://myserver100:7077
APP_JAR=/home/java_jars/Spark_Top10NonUnique.jar
$SPARK_HOME/bin/spark-submit --master yarn --executor-memory 2G --num-executors 5 $APP_JAR
